package com.ajie.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * @author: ajie
 * @createTime: 2024-06-22 18:06
 */
@Data
@Schema(description = "公共类")
public class BaseEntity {

    /**
     * 主键标识
     */
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private String id;
    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    private Date createTime;
    /**
     * 创建人
     */
    @Schema(hidden = true)
    private String createBy;
    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remarks;

}
